﻿@model MobileWebsiteGenerator.Entities.Customer
@{
   
    var isAuthenticated = false;
    var customerName = "unknown";
    if (MobileWebsiteGenerator.MvcApplication.IsLoggedIn == true)
    {
        isAuthenticated = true;
        customerName = MobileWebsiteGenerator.MvcApplication._MainCustomer.customer.FullName;
    }
    
    
}


    <form id="login" method="post" action="/Home/Login">
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <span style="float: right; margin-right: 15px;">כתובת דוא"ל </span>
                <input  style="margin-right:10px;width:180px;" placeholder="EmailAddress" autocomplete="off" class="form_input validate[required] text-input" data-val="true" id="Email" name="Email"
            type="text" value="@Html.DisplayFor(model => model.Email)" />
                <span class="field-validation-valid" data-valmsg-for="Email" data-valmsg-replace="true">
                </span>
            </td>
            <td>
                <span style="float: right; margin-right: 15px;">סיסמה</span>
                <input style="margin-right:10px;width:180px;" placeholder="password"  autocomplete="off" class="form_input validate[required] text-input" id="Password" name="Password" type="password"
            value="@Html.DisplayFor(model => model.Password)" />
                <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true">
                </span>
            </td>
            <td>
                <a style="margin-left:21px;" href="@Url.Action("ForgotPassword", "Home")">שכחת את הסיסמה</a>
                <input type="submit" style="padding: 0px 35px 0px 10px; margin-right: 10px; height: 30px;
                    width: 100px;" class="form_submits" value="שלח" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
    </table>
    </form>
    

}

    <style type="text/css">
        #loginContainer
        {
            width: 120px;
            height: 52px;
            margin: 0px;
            vertical-align: text-bottom;
            margin-top: -8px;
        }
        #loginContainer h3
        {
            margin: 0px;
            padding: 0px;
        }
    </style>

 
  
   
     
    

<style type="text/css">
    input.form_submits
    {
        width: auto;
        height: auto;
        color: #4F4F4D;
        font-size: 18px;
        cursor: pointer;
        float: left;
        margin: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        text-align: right;
        background: url('../images/arrow left.png') no-repeat 20px 20px;
        border: 1px solid #DEDEDE;
        background: url('../images/arrow left.png') no-repeat 20px 20px;
        background-position: left center;
    }
</style>
